package com.example.service;

import cn.jiyun.dto.DishDto;
import cn.jiyun.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;


import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface DishService extends IService<Dish> {
    void saveWithFlover(HttpServletRequest request, DishDto dishDto);

    DishDto findId(Long id);

    //void updateByDishId(DishDto dishDto, HttpServletRequest request);

    void updateByDishId(DishDto dishDto);

    void removeWithDish(List<Long> ids);
}
